package com.sy.bean;

import com.sy.service.TPService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Component;

/**
 * @author songyi
 * @className ConsumerComponent
 * @description TODO
 * @date 2020/8/17 0017 17:04
 */
@Component
public class ConsumerComponent {

    @DubboReference(group = "dubbo")
    private TPService tpService;

    public void methodA() {
        tpService.methodA();
    }

    public void methodB() {
        tpService.methodB();
    }

    public void methodC() {
        tpService.methodC();
    }

}
